<?php

namespace longhu\base;

abstract class BaseJWT
{
    abstract public function createToken(int $id, string$type ,array $params = []):array;


    abstract public function checkToken(string $type,string $token):array;
}